<template>
  <div class="sampol-content">
    <div class="picture" >
      <img :src="h" alt="svg" style="height:100%;">
    </div>
  </div>
</template>
<script setup>
import { useRoute, useRouter } from 'vue-router'
import { ref, onMounted } from "vue-demi";
const route = useRoute()
const h = ref('')
onMounted(()=>{
  h.value = route.params.src
})
</script>
<style lang="scss" scoped>
.sampol-content{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  .picture{
    width: 400px;
    height: 400px;
  }
}
</style>